﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Tour.Linq.TourDBML;

/// <summary>
/// Summary description for WebControl
/// </summary>
public class WebControl : System.Web.UI.UserControl
{
    protected BasePage BasePage
    {
        get
        {
            return this.Page as BasePage;
        }
    }

    protected MyTourDataContext TourContext
    {
        get
        {
            return BasePage.TourContext;
        }
    }
}
